import {ActionBar} from "@taroify/commerce";
import {CartOutlined, ShopOutlined} from "@taroify/icons";
import {Text} from "@tarojs/components";

import './index.scss'

export default function PlaceAction() {

  return (
    <ActionBar>
      <ActionBar.IconButton badge="5">
        <CartOutlined/>
        <Text>购物车</Text>
      </ActionBar.IconButton>
      <ActionBar.IconButton badge="12">
        <ShopOutlined/>
        <Text>店铺</Text>
      </ActionBar.IconButton>
      <ActionBar.ButtonGroup>
        <ActionBar.Button color="warning">加入购物车</ActionBar.Button>
        <ActionBar.Button color="danger">立即购买</ActionBar.Button>
      </ActionBar.ButtonGroup>
    </ActionBar>
  )
}
